package com.xu.sso.db.service;

import com.xu.sso.db.model.base.Department;

import java.util.List;

public interface DepartmentDBService {

    Department findDepartmentByName(String depName);

    Department findDepartmentById(Integer id);

    List<Department> findAllDepartment();

    int createDepartment(Department department);

    int updateDepartment(Department department);

    int deleteById(Integer id);

}
